import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

import uView from "uview-ui";
Vue.use(uView);

Vue.config.productionTip=false

// 状态管理器
import store from '@/store'
let vuexStore = require("@/store/$u.mixin.js")
Vue.mixin(vuexStore)



App.mpType = 'app'
const app = new Vue({
	store,
  ...App
})

// 引入请求库
require('@/config/request.js')(app)
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif